{extend name="Public:base" /}
      {block name="seo"}
     
      {/block}
            {block name="css"}
     <style>
     .aui-list{    background-size: 100% 0px;}
     
     </style>
      {/block}
{block name="body"}
<header class="aui-bar aui-bar-nav aui-bg-dark">
   
    <div class="aui-title">首页</div>
   
</header>

<section class=" aui-content-bg">

<div class="content-title">
<div class="aui-pull-left">热门小组</div>
<a class="aui-pull-right aui-font-size-12" style="    color: #909090;" href="{:url('group/glist')}">
    全部小组
        <span class="aui-iconfont aui-icon-right aui-font-size-12"></span>
    </a>
</div>
  <div class="aui-content-list aui-row-padded aui-text-center aui-clearfix " style="margin:0px 10px;">
        {volist name="hotgrouplist" id="vo"}
        
        <div class="aui-col-xs-3">
        <a href="{:url('group/index',array('id'=>$vo.id))}">
            <img src="{$vo.cover_id|get_picture_url}" style="width:100%" />
            <div class="aui-grid-label">{$vo.name}</div>
            </a>
        </div>
       {/volist}
  </div>


    
</section>
<div class="aui-content">
<div class="content-title">
<div class="aui-pull-left">热门帖子</div>

</div>

        <ul class="aui-list aui-media-list">
            

{volist name="hottopiclist" id="vo"}
            <li class="aui-list-item dataurla" data-url="{:url('group/gview',array('id'=>$vo.id))}">
                <div class="aui-media-list-item-inner">
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-title aui-font-size-14">{$vo.title}</div>
                        <div class="aui-list-item-text">
                            <p class="aui-ellipsis-2  aui-font-size-12">{$vo.content|htmlspecialchars_decode|clearHtml|msubstr=0,60}</p>
                        </div>
                    </div>
                </div>
                <div class="aui-info">
                    <div class="aui-info-item aui-font-size-12">
                        <img src="{$vo.userhead|getheadurl}" style="width:1rem" class="aui-img-round">
                        <span class="aui-margin-l-5">{$vo['nickname']}</span>
                        
                    </div>
                    <div class="aui-info-item aui-font-size-12">{$vo['reply']}条回复</div>
                </div>
            </li>
               {/volist}
        </ul>
    </div>


 {/block}		
 {block name="script"}

 
 {/block}